import React,{PureComponent} from "react"
export default class Map extends PureComponent{
	constructor(props){
		super(props);
		this.state={
			mapUrl:localStorage[MI_APP_CODE+"mapUrl"]
		}
	}
	
	componentWillMount(){
	}
	
	componentDidMount(){
	}
	
	render(){
		let {mapUrl}=this.state;
		return (
			<div className="normal" style={{paddingBottom:0,paddingTop:0,height:"100%",overflow:"hidden"}}>
				<iframe src={mapUrl} frameBorder="0" style={{width:"100%",height:"100%"}} security="restricted"></iframe>
			</div>
		)
	}
}